#pragma once
#include <d3d9.h>
 

#include "twtexture.h"

class TwTextureDX :
	public TwTexture
{
public:
	TwTextureDX(void);
	~TwTextureDX(void);

	bool CreateTextureFromFile(const char* szFileName);
	void* GetData() {return m_pd3dTexture;};
	void SetTexID(const UINT32 uID);
	const UINT32 GetTexID() const;

	virtual void Destroy();
private:
	LPDIRECT3DTEXTURE9	m_pd3dTexture;
	UINT32				m_uTexID;
};
